<?php /* Smarty version Smarty-3.1.6, created on 2013-04-07 13:49:41
         compiled from "/home/zmx/erp2.1/DzhPHP/FrameWork/Tpl/AutoShow/saleStorage.tpl" */ ?>
<?php /*%%SmartyHeaderCode:1054697523516108f51d86d4-77398069%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '77f977c5db196772fbe847c654476994538253a8' => 
    array (
      0 => '/home/zmx/erp2.1/DzhPHP/FrameWork/Tpl/AutoShow/saleStorage.tpl',
      1 => 1364183646,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '1054697523516108f51d86d4-77398069',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'lang' => 0,
    'rs' => 0,
    'storage' => 0,
    'item' => 0,
    'properties_name' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.6',
  'unifunc' => 'content_516108f536dc6',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_516108f536dc6')) {function content_516108f536dc6($_smarty_tpl) {?><?php if (!is_callable('smarty_function_html_fit')) include '/home/zmx/erp2.1/DzhPHP/FrameWork/Extend/Vendor/Smarty/plugins/function.html_fit.php';
?><table cellspacing="0" cellpadding="0"  align="center" class="product_table">
    <tbody>    
    <tr>
      <td colspan="2" style="font-size:14px;text-align:left;height:30px;border-bottom:1px #CCCCCC dashed;"><?php echo $_smarty_tpl->tpl_vars['lang']->value['product_no'];?>
：<?php echo $_smarty_tpl->tpl_vars['rs']->value['product_no'];?>
&nbsp;&nbsp;&nbsp;&nbsp;<?php echo $_smarty_tpl->tpl_vars['lang']->value['product_name'];?>
：<?php echo $_smarty_tpl->tpl_vars['rs']->value['product_name'];?>
</p></td>

    </tr>
    <tr>
        <td colspan="2" class="t_left"><div class="blue tbold" style="widht:110px; padding-right:5px;float:left;">▼<?php echo $_smarty_tpl->tpl_vars['lang']->value['sale_storage'];?>
</div><?php if (C("loadContainer.sale_storage")==1){?><div class="storage_title"></div><?php echo $_smarty_tpl->tpl_vars['lang']->value['onroad_storage'];?>
<?php }?></td>
      </tr>
      <?php if ($_smarty_tpl->tpl_vars['storage']->value){?>
     <tr>
      <td  colspan="2" class="t_left">
			<table id="index" class="add_table_autoshow" border=0>
				<thead><tr>
				<?php if (C('storage_color')){?><th width=""><?php echo $_smarty_tpl->tpl_vars['lang']->value['color_name'];?>
</th><?php }?>
				<?php if (C('storage_size')){?><th width=""><?php echo $_smarty_tpl->tpl_vars['lang']->value['size_name'];?>
</th><?php }?>
				<th width=""><?php echo $_smarty_tpl->tpl_vars['lang']->value['quantity'];?>
</th>
				<?php if (C('storage_format')>=2){?><th width=""><?php echo $_smarty_tpl->tpl_vars['lang']->value['capability'];?>
</th><?php }?>
				<?php if (C('storage_format')>=3){?><th width=""><?php echo $_smarty_tpl->tpl_vars['lang']->value['dozen'];?>
</th><?php }?>
				<?php if (C('storage_format')>1){?><th width=""><?php echo $_smarty_tpl->tpl_vars['lang']->value['sum_quantity'];?>
</th><?php }?>
				<?php if (C('storage_mantissa')){?><th width=""><?php echo $_smarty_tpl->tpl_vars['lang']->value['mantissa_2'];?>
</th><?php }?>
				</tr>
				</thead>
				<tbody>
				<?php  $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['item']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['storage']->value['list']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value){
$_smarty_tpl->tpl_vars['item']->_loop = true;
?>
				<tr <?php if ($_smarty_tpl->tpl_vars['item']->value['lc_state']==2){?>class="line_bzyellow"<?php }?>>
				<?php if (C('storage_color')){?><td width="" <?php if ($_smarty_tpl->tpl_vars['item']->value['color_name']==''){?>class="b_top_load"<?php }?>><?php echo $_smarty_tpl->tpl_vars['item']->value['color_name'];?>
</td><?php }?>
				<?php if (C('storage_size')){?><td width="" <?php if ($_smarty_tpl->tpl_vars['item']->value['size_name']==''){?>class="b_top_load"<?php }?>><?php echo $_smarty_tpl->tpl_vars['item']->value['size_name'];?>
</td><?php }?>
				<td width=""><?php echo $_smarty_tpl->tpl_vars['item']->value['dml_quantity'];?>
</td>
				<?php if (C('storage_format')>=2){?><td width=""><?php echo $_smarty_tpl->tpl_vars['item']->value['dml_capability'];?>
</td><?php }?>
				<?php if (C('storage_format')>=3){?><td width=""><?php echo $_smarty_tpl->tpl_vars['item']->value['dml_dozen'];?>
</td><?php }?>
				<?php if (C('storage_format')>1){?><td width=""><?php echo $_smarty_tpl->tpl_vars['item']->value['dml_sale_storage'];?>
</td><?php }?>
				<?php if (C('storage_mantissa')){?><td width="" class="t_center"><?php if ($_smarty_tpl->tpl_vars['item']->value['mantissa']==2){?>√<?php }?></td><?php }?>
				</tr>
				<?php } ?>
				</tbody>
				<tfoot>
				<tr><td class="t_right tred" colspan="10"><?php echo $_smarty_tpl->tpl_vars['lang']->value['row_total'];?>
：<?php echo $_smarty_tpl->tpl_vars['storage']->value['total']['dml_quantity'];?>
（<?php echo $_smarty_tpl->tpl_vars['lang']->value['quantity'];?>
）</td></tr>
				</tfoot>
			</table>
      </td>
    </tr>  
     <?php }else{ ?>
	    <tr>
        <td colspan="2" class="t_center">&nbsp;</td>
      </tr>
      <?php }?> 
    <?php if (C('PRODUCT_COLOR')==1&&C('PRODUCT_SIZE')==1){?>
     <tr><th colspan="2" style="padding:0px!important;font-weight:bold;">▼<?php echo $_smarty_tpl->tpl_vars['lang']->value['fit'];?>
</th></tr>
    <tr>
     <td  colspan="2" class="t_left">
     <?php echo smarty_function_html_fit(array('class'=>"fit",'value'=>($_smarty_tpl->tpl_vars['rs']->value['fit']),'readonly'=>"true"),$_smarty_tpl);?>

     </td></tr> 
     <?php }?>
     
<?php if ($_smarty_tpl->tpl_vars['rs']->value['pics']){?>
<tr>
<td><?php echo $_smarty_tpl->tpl_vars['lang']->value['product_pics'];?>
：</td>
<td class="t_left"><?php echo smarty_function_showFiles(array('from'=>$_smarty_tpl->tpl_vars['rs']->value['pics']),$_smarty_tpl);?>

</td>
</tr>
<?php }?>
<?php if (@LANG_SET=='fr'){?>
<?php $_smarty_tpl->tpl_vars["properties_name"] = new Smarty_variable("properties_name_fr", null, 0);?>
<?php }else{ ?>
<?php $_smarty_tpl->tpl_vars["properties_name"] = new Smarty_variable("properties_name", null, 0);?>
<?php }?>
    <?php  $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['item']->_loop = false;
 $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
 $_from = $_smarty_tpl->tpl_vars['rs']->value['detail']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value){
$_smarty_tpl->tpl_vars['item']->_loop = true;
 $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['item']->key;
?>
    <tr>
      <td><?php echo $_smarty_tpl->tpl_vars['item']->value[$_smarty_tpl->tpl_vars['properties_name']->value];?>
：</td>
      <td class="t_left">
      <?php echo $_smarty_tpl->tpl_vars['item']->value['properties_value'];?>

      </td>
    </tr>
    <?php } ?>
     <tr>
      <td valign="top" class="width15"><?php echo $_smarty_tpl->tpl_vars['lang']->value['comments'];?>
：</td>
      <td class="t_left"><p class="line_24"><?php echo $_smarty_tpl->tpl_vars['rs']->value['comments'];?>
</p></td>
    </tr>
    </tbody>
  </table>
<?php }} ?>